-- GENERATED SPELL FOR [Shadow Sprite] --


function spell0_2003(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2003', 3000, 1)
end

function Sorts_2003(pUnit, Event)
local choix_sorts_2003 = math.random(0, 0)
if choix_sorts_2003 == 0 then
pUnit:RegisterEvent('spell0_2003', 1, 1)
end
end

function mob2003_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2003', math.random(1500, 3000), 1)
end

function mob2003_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2003_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2003_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2003, 1, 'mob2003_Action')
RegisterUnitEvent(2003, 2, 'mob2003_Leave')
RegisterUnitEvent(2003, 3, 'mob2003_Kill')
RegisterUnitEvent(2003, 4, 'mob2003_Die')
